<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Vincular Dados</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="Ossoba, design, templates" />
<meta name="description" content="Short description of your website..." />
<style type="text/css">
@import url("mo05f.css");
</style>
<script type="text/javascript">
<!--
//function MM_openBrWindow(theURL,winName,features) { //v2.0
  //window.open(theURL,winName,features);
//}
function abreJanela(idEscola,tipo) 
{ //v2.0
//alert (idEscola);
//alert (tipo);

if (tipo=="portaria"){
window.open('CadastrarPortaria.php?ack=1&idEscola='+idEscola,'CIEC','toolbar=yes,location=yes,scrollbars=yes,resizable=yes,width=600,height=600');
}
else if (tipo=="ordemservico"){
window.open('CadastrarOS.php?ack=1&idEscola='+idEscola,'CIEC','toolbar=yes,location=yes,scrollbars=yes,resizable=yes,width=600,height=600');
}
else if (tipo=="parecer"){
window.open('CadastrarParecer.php?ack=1&idEscola='+idEscola,'CIEC','toolbar=yes,location=yes,scrollbars=yes,resizable=yes,width=600,height=600');
}
else if (tipo=="arquivos"){
window.open('Upload.php?idEscola='+idEscola,'CIEC','toolbar=yes,location=yes,scrollbars=yes,resizable=yes,width=600,height=600');
}
else if (tipo=="cursos"){
window.open('VinculaCursos.php?idEscola='+idEscola,'CIEC','toolbar=yes,location=yes,scrollbars=yes,resizable=yes,width=600,height=600');
}
}
//-->
</script>
</head>
<body>
<?php include("funcoes.php");?>
<?php include("conexao.php");


 $idEscola=$_GET['idEscola'];
 //echo $idEscola;
 //echo "xxxxxxxx";
?>

  <!-- Title begin -->
  <!-- Title end -->
  <table width="770" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" align="center">
    <tr valign="top"><div align="center">
	<img src="images/logo.jpg"/>
      </tr>
    
    <table border="0" cellspacing="5" cellpadding="5" align="center">
            <tr>
			  <h1 align="center">Cadastrar Portaria, OS, Parecer, Arquivos e Cursos Profissionalizantes</h1>
              <td><a href="#" onclick="abreJanela(<?php echo $idEscola; ?>,'portaria')">Cadastrar Portaria</a></td>
              <td><a href="#" onclick="abreJanela(<?php echo $idEscola; ?>,'ordemservico')">Cadastrar OS</td>
              <td><a href="#" onclick="abreJanela(<?php echo $idEscola; ?>,'parecer')">Cadastrar Parecer</td>
              <td><a href="#" onclick="abreJanela(<?php echo $idEscola; ?>,'arquivos')">Vincular Arquivos</td>
              <td><a href="#" onclick="abreJanela(<?php echo $idEscola; ?>,'cursos')">Vincular Cursos Profissionalizantes</td>
            </tr>
            </table>     
        
    </tr>
    <tr><div align="center">
      <td><img src="images/mo05f_08.gif" width="770" height="9" alt=""  align="center" /></td>

    </tr>
	 
  </table>
</div>
<blockquote>&nbsp;</blockquote>
</body>
</html>

